package F.Demo;



/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 *
 * @author 
 */
public class Calc {
    /*
     * @author:冯荣梢
     */
    public int add(int a,int b){
            int result=a+b;
            return result;
    }
    public static void main(String args[]){
            Calc atest=new Calc();
            int x=30,y=50;
            int r=atest.add(x,y);
                    System.out.println(x+"+"+y+"="+r);
            
    }        
}
